From: Stefan Monnier Date: Wed, 13 Jun 2007 17:49:14 +0000 (+0000) Subject: (explicitly numbered group): Precise the behavior. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~18416 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=7275a204a9d0c2382ba2c83f9d653b17eecad49c;p=emacs.git (explicitly numbered group): Precise the behavior. --- diff --git a/lispref/searching.texi b/lispref/searching.texi index f923a58f112..70926478ea7 100644 --- a/lispref/searching.texi +++ b/lispref/searching.texi @@ -655,7 +655,8 @@ is the @dfn{explicitly numbered group} construct. Normal groups get their number implicitly, based on their position, which can be inconvenient. This construct allows you to force a particular group number. There is no particular restriction on the numbering, -e.g.@: you can have several groups with the same number. +e.g.@: you can have several groups with the same number in which case +the last one to match (i.e.@: the rightmost match) will win. Implicitly numbered groups always get the smallest integer larger than the one of any previous group.